package cn.wolfcode.rbac.mapper;

import cn.wolfcode.rbac.domain.Department;
import cn.wolfcode.rbac.query.QueryObject;

import java.util.List;

public abstract interface DepartmentMapper {
    public abstract int deleteByPrimaryKey(Long paramLong);
    public abstract int insert(Department paramDepartment);
    public abstract Department selectByPrimaryKey(Long paramLong);
    public abstract List<Department> selectAll();
    public abstract int updateByPrimaryKey(Department paramDepartment);


//    public abstract int selectForCount(QueryObject paramQueryObject);
    public abstract List<Department> selectForList(QueryObject paramQueryObject);
}
